package com.denlaku.longan;

import java.io.Serial;

/**
 * 应用异常
 *
 * @author tianx
 */
public class AppException extends RuntimeException {
    @Serial
    private static final long serialVersionUID = 1L;

    public AppException() {
    }

    public AppException(Throwable cause) {
        super(null, cause);
    }

    public AppException(String message, Throwable cause) {
        super(message, cause);
    }

    public AppException(String message) {
        super(message);
    }

    @Override
    public String toString() {
        return this.getLocalizedMessage();
    }

}
